sour grapes

Translations
par dépit
Definitions
Sour grapes is a phrase used to describe a situation where someone pretends to despise or belittle something they cannot have, often as a way to cope with disappointment or envy.